home *** CD-ROM | disk | FTP | other *** search
- Path: fred.net!news
- From: bitmask@bigdog.fred.net (Scott Allen)
- Newsgroups: comp.lang.c++
- Subject: Re: BC++5.0 Program doesn't compile (see text)
- Date: Mon, 15 Apr 1996 14:40:49 GMT
- Organization: FredNet - Frederick, Md.
- Message-ID: <317257a2.9543727@news.fred.net>
- References: <4k9e51$fl9@arl-news-svc-5.compuserve.com> <316AA13B.79CF@tdl.com> <craigaDpMLEB.yz@netcom.com> <316F262D.1F77@tdl.com>
- NNTP-Posting-Host: bitmask.fred.net
- X-Newsreader: Forte Agent .99d/32.168
-
-
- I can verify the problem Martin Moore describes does exist in
- Borland's 5.0 C++ compiler. I have seen it happen.
-
- I created a new project in 5.0 ( patch 1 applied ) and used the
- following source code :
-
- #include <vector>
-
- using namespace std;
-
- int main()
- {
- vector<long> test;
-
- return 1;
- }
-
-
- I set the project to target a WIn32 console application,
- and everything compiles *perfectly*.
-
- I set the project to target a DOS( standard)
- application (large or small model ) and *during the compile*
- I receive the following error :
-
- Access violation occurred at 0xhhhhhhhh : Attempt to access
- 0xhhhhhhhh.
-
- If I choose to be bull-headed at this point and simply tell BC++ 5.0
- to recompile, the "errors" statistic increments forever in the compile
- dialog. Repeatedly pounding on the Cancel button has no effect.
- It is time for a three finger salute.
-
- The same problem exists when compiling and running programs
- in \BC5\EXAMPLES\STDLIB. The examples will compile and
- execute as Console apps, but refuse to compile as DOS apps.
-
- I know several have posted of having a successful compile, and I
- was wondering what platform you had targeted? Has anyone been
- able to use the STL under DOS in BC++ 5.0?
-
- Speaking of DOS, does anybody know if the 5.0 IDE will
- ever be upgraded to let a developer target a DPMI app
- w/the Power Pack add-on?
- --
- Scott Allen
- bitmask@bigdog.fred.net
-